<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
$host = "localhost";
$user = "root";
$pass = "";
$dbname = "market";

$link = mysql_connect($host,$user,$pass);
if(!$link)
    echo "Database is not connected.";
mysql_select_db($dbname, $link);
mysql_query("SET character_set_results=utf8");
mysql_query("SET character_set_client=utf8");
mysql_query("SET character_set_connection=utf8");

?>
